package com.eccg.shopping.entity;


import android.os.Parcel;
import android.os.Parcelable;

public class FloorInfo implements Parcelable{
	private String floorNum;
	private String category;
	private String categoryInfo;
	
	
	
	public String getFloorNum() {
		return floorNum;
	}
	public void setFloorNum(String floorNum) {
		this.floorNum = floorNum;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getCategoryInfo() {
		return categoryInfo;
	}
	public void setCategoryInfo(String categoryInfo) {
		this.categoryInfo = categoryInfo;
	}
	
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(floorNum);
		dest.writeString(category);
		dest.writeString(categoryInfo);
	}
	
	public static final Parcelable.Creator<FloorInfo> CREATOR = new Creator<FloorInfo>() {
		
		@Override
		public FloorInfo[] newArray(int size) {
			// TODO Auto-generated method stub
			return null;
		}
		
		@Override
		public FloorInfo createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			FloorInfo floorInfo = new FloorInfo();
			
			floorInfo.floorNum = source.readString();
			floorInfo.category = source.readString();
			floorInfo.categoryInfo = source.readString();
			return floorInfo;
		}
			
	};
	
}
